package com.hejjon.core.bean;

import com.sun.org.apache.xpath.internal.operations.Bool;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * 表列
 * @author: cs
 * @date: 2025-04-11 11:16:30
 * @since: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TableColumn {

    // 列名
    private String columnName;

    // 列类型
    private String jdbcType;

    // 长度
    private Integer length;

    // 是否非空
    private Boolean notNull;

    // 列名
    private String comment;

    // 默认值
    private Object defaultValue;

    // 是否主键
    private Boolean primaryKey;

}
